<?php


namespace App\Api\Services;


class SensitiveWords
{
    public static function filter($str)
    {
        $arr = ['LV','阿尼玛','iPhone'];
        foreach ($arr as $item){
            $str = str_replace($item,'**',$str);
        }
        return $str;
    }

}